
Ext.define('js.information.InformationPage', {
    extend: 'Ext.panel.Panel',
    id: 'InformationPage',
    margin:'10 10 30 10',
    config: {
        layout: {
            type: 'vbox',
            align: 'stretch'
        },
    },
    bodyStyle:{
        background:'#eee'
    },
    buttonNum:1,
    initComponent: function () {
        this.dockedItems = [
            {
                dock: 'top',
                xtype: 'toolbar',
                cls:'toolbarStyle',
                items: [{
                    xtype: 'button',
                    cls: 'buttonset',
                    scale: 'medium',
                    itemId: 'item_addRegion',
                    id:'item_addRegion',
                    text: '<span id="jcxx">基础信息</span>',
                    scale: 'medium',
                    margin:'0 2 0 0',
                    width:240,
                    height:45,
                    scope: this,
                    action_type: 'regionAdd',
                    handler:function () {
                        let me =  Ext.getCmp('InformationPage');
                        if(me.buttonNum ===2){

                            Ext.getDom('item_addRegion').style.background='#fff';
                            document.getElementById('jcxx').style.color='#ff8041';
                            me.buttonNum=1
                        }else{
                          /*  Ext.getDom('item_addRegion').style.border='1px solid #fff;';*/
                            Ext.getDom('item_addRegion').style.background='#fff';
                            document.getElementById('jcxx').style.color='#ff8041';

                            Ext.getDom('qualityCheck').style.border='1px solid #ff8041;';
                            Ext.getDom('qualityCheck').style.background='#ff8041';
                            document.getElementById('gczljc').style.color='#fff';

                            Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #ff8041;';
                            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#ff8041';
                            document.getElementById('gcjdysjd').style.color='#fff';
                            Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #ff8041;';
                            Ext.getDom('PreliminaryApplicationProcedures').style.background='#ff8041';
                            document.getElementById('qqbjsx').style.color='#fff';
                           me.buttonNum=2;

                            }
                        document.getElementById('titlename').innerText = '基础信息';
                        me.removeAll(true);
                        let engineering_id=this.engineering_id;
                        Ext.Ajax.request({
                            url: '/engInformationRoutes',
                            method: "POST",
                            async: true,  //异步调用AJAX
                            params: {
                                action_type: 'engInformationQuery',
                                engineering_id:engineering_id,
                            },
                            success: function (response, opts) {
                                let result = Ext.decode(response.responseText);
                                let basicInformationPanel = Ext.create('js.basicInformation.basicInformationPanel', {
                                    engineering_id:engineering_id,
                                    engineering_no:result.data.engineering_no,
                                    engineering_name:result.data.engineering_name,
                                    //开工日期
                                    startDate:result.data.startDate,
                                    //责任监督员
                                    principal_name:result.data.principal_name,
                                    //上
                                    aboveGround_floor:result.data.aboveGround_floor,
                                    //首次入场日期
                                    admission_construction_date:result.data.admission_construction_date,
                                    //下
                                    underGround_floor:result.data.underGround_floor,
                                    //监督员
                                    user_name:result.data.user_name,
                                    //总面积
                                    engineering_area:result.data.engineering_area,
                                    //入场工程状态
                                    admission_construction_status:result.data.admission_construction_status,
                                    //详细地址
                                    engineering_address:result.data.engineering_address,
                                    //建筑用途
                                    building_use:result.data.building_id,
                                    //监督注册证编号
                                    supervisory_registration_certificate:result.data.supervisory_registration_certificate,
                                    //规划证号
                                    planning_certificate:result.data.planning_certificate,
                                    //图审编号
                                    drawing_number:result.data.drawing_number,
                                    //施工许可证号
                                    construction_permit:result.data.construction_permit,
                                    //建设单位
                                    construction_unit_employer_id:result.data.construction_unit_employer_id,
                                    //设计单位
                                    design_unit_id:result.data.design_unit_id,
                                    //施工单位
                                    construction_unit_contractor_id:result.data.construction_unit_contractor_id,
                                    //监理单位
                                    supervisory_unit_id:result.data.supervisory_unit_id,
                                    //勘察单位
                                    survey_unit_id:result.data.survey_unit_id,
                                    //图审单位
                                    drawing_unit_id:result.data.drawing_unit_id,
                                    //责任监督员id
                                    principal_id:result.data.principal_id,
                                    //监督员id
                                    userIds:result.data.userIds,
                                    construction_unit_employer_person:result.data.construction_unit_employer_person,
                                    design_unit_person:result.data.design_unit_person,
                                    construction_unit_contractor_person:result.data.construction_unit_contractor_person,
                                    supervisory_unit_person:result.data.supervisory_unit_person,
                                    survey_unit_person:result.data.survey_unit_person,
                                    drawing_unit_person:result.data.drawing_unit_person,
                                    //结构类型
                                    structure_id:result.data.structure_id
                                });
                                me.add(basicInformationPanel);

                            },
                            failure: function () {
                                Ext.toast(`获取异常报警数据失败：${response.status}`);
                            }  // 请求失败的回调函数
                        });


                    }
                },{
                    text: '<span id="qqbjsx">前期报建手续</span>',
                    cls: 'buttonset',
                    id:'PreliminaryApplicationProcedures',
                    scale: 'medium',
                    width:240,
                    height:45,
                    margin:'0 2 0 0',
                    scope: this,
                    handler:function () {
                        let me =  Ext.getCmp('InformationPage');
                        if(me.buttonNum ===3){
                            Ext.getDom('PreliminaryApplicationProcedures').style.background='#fff';
                            document.getElementById('qqbjsx').style.color='#ff8041';
                            me.buttonNum=1
                        }else{


                            Ext.getDom('qualityCheck').style.border='1px solid #ff8041;';
                            Ext.getDom('qualityCheck').style.background='#ff8041';
                            document.getElementById('gczljc').style.color='#fff';

                            Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #fff;';
                            Ext.getDom('PreliminaryApplicationProcedures').style.background='#fff';
                            document.getElementById('qqbjsx').style.color='#ff8041';

                            Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #ff8041;';
                            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#ff8041';
                            document.getElementById('gcjdysjd').style.color='#fff';

                            Ext.getDom('item_addRegion').style.border='1px solid #ff8041;';
                            Ext.getDom('item_addRegion').style.background='#ff8041';
                            document.getElementById('jcxx').style.color='#fff';
                            me.buttonNum=3;

                        }
                        let engineering_id=this.engineering_id;
                        //修改头部文件名
                        Ext.Ajax.request({
                            url: '/certificateRoutes',
                            method: "POST",
                            async: true,  //异步调用AJAX
                            params: {
                                action_type: 'certificateQuery',
                                engineering_id:engineering_id
                            },
                            success: function (response, opts) {
                                let result = Ext.decode(response.responseText);
                              /*  let ListNum=result.data;*/
                                document.getElementById('titlename').innerText = '前期报建手续';
                                me.removeAll(true);
                                //授权
                                let aa=result.data.certificate.authoriz;
                                //承诺
                                let bb=result.data.certificate.commitment;

                                let status=result.data.quality.status;
                                let basicInformationPanel = Ext.create('js.preAppPro.PreliminaryApplicationProceduresPanel', {
                                    engineering_id:engineering_id,
                                    quality_statusStatusA:result.data.quality.status,
                                    release_dateA:result.data.quality.release_date,
                                    file_noA:result.data.quality.file_no,
                                    submission_dateA:result.data.quality.submission_date,

                                    //档案编号
                                    authorize_construction_employer_noA:aa[0].certificate_no,
                                    //接收人员
                                    authorize_construction_employer_userA:aa[0].user_id,
                                    //接受日期
                                    authorize_construction_employer_dateA:aa[0].receipt_date,
                                    authorize_construction_employer_statusAA:aa[0].status,

                                    //档案编号
                                    authorize_design_noA:aa[1].certificate_no,
                                    //接收人员
                                    authorize_design_userA:aa[1].user_id,
                                    //接受日期
                                    authorize_design_dateA:aa[1].receipt_date,
                                    authorize_design_statusAA:aa[1].status,

                                    //档案编号
                                    authorize_construction_contractor_noA:aa[2].certificate_no,
                                    //接收人员
                                    authorize_construction_contractor_userA:aa[2].user_id,
                                    //接受日期
                                    authorize_construction_contractor_dateA:aa[2].receipt_date,
                                    authorize_construction_contractor_statusAA:aa[2].status,


                                    //档案编号
                                    authorize_supervisory_noA:aa[3].certificate_no,
                                    //接收人员
                                    authorize_supervisory_userA:aa[3].user_id,
                                    //接受日期
                                    authorize_supervisory_dateA:aa[3].receipt_date,
                                    authorize_supervisory_statusAA:aa[3].status,


                                    //档案编号
                                    authorize_survey_noA:aa[4].certificate_no,
                                    //接收人员
                                    authorize_survey_userA:aa[4].user_id,
                                    //接受日期
                                    authorize_survey_dateA:aa[4].receipt_date,
                                    authorize_survey_statusAA:aa[4].status,


                                    //档案编号
                                    authorize_drawing_noA:aa[5].certificate_no,
                                    //接收人员
                                    authorize_drawing_userA:aa[5].user_id,
                                    //接受日期
                                    authorize_drawing_dateA:aa[5].receipt_date,
                                    authorize_drawing_statusAA:aa[5].status,


                                    //承诺书
                                    //档案编号
                                    commitment_construction_employer_noB:bb[0].certificate_no,
                                    //接收人员
                                    commitment_construction_employer_userB:bb[0].user_id,
                                    //接受日期
                                    commitment_construction_employer_dateB:bb[0].receipt_date,
                                    commitment_construction_employer_statusAA:bb[0].status,

                                    //档案编号
                                    commitment_design_noB:bb[1].certificate_no,
                                    //接收人员
                                    commitment_design_userB:bb[1].user_id,
                                    //接受日期
                                    commitment_design_dateB:bb[1].receipt_date,
                                    commitment_design_statusAA:bb[1].status,

                                    //档案编号
                                    commitment_construction_contractor_noB:bb[2].certificate_no,
                                    //接收人员
                                    commitment_construction_contractor_userB:bb[2].user_id,
                                    //接受日期
                                    commitment_construction_contractor_dateB:bb[2].receipt_date,
                                    commitment_construction_contractor_statusAA:bb[2].status,


                                    //档案编号
                                    commitment_supervisory_noB:bb[3].certificate_no,
                                    //接收人员
                                    commitment_supervisory_userB:bb[3].user_id,
                                    //接受日期
                                    commitment_supervisory_dateB:bb[3].receipt_date,
                                    commitment_supervisory_statusAA:bb[3].status,


                                    //档案编号
                                    commitment_survey_noB:bb[4].certificate_no,
                                    //接收人员
                                    commitment_survey_userB:bb[4].user_id,
                                    //接受日期
                                    commitment_survey_dateB:bb[4].receipt_date,
                                    commitment_survey_statusAA:bb[4].status,



                                    //档案编号
                                    commitment_drawing_noB:bb[5].certificate_no,
                                    //接收人员
                                    commitment_drawing_userB:bb[5].user_id,
                                    //接受日期
                                    commitment_drawing_dateB:bb[5].receipt_date,
                                    commitment_drawing_statusAA:bb[5].status,

                                    //


                                });
                                me.add(basicInformationPanel);
                            }})




                    }
                }, {
                    text: '<span id="gczljc">质量行为抽查</span>',
                    margin:'0 2 0 0',
                    width:240,
                    height:45,
                    id:'qualityCheck',
                    scale: 'medium',
                    cls: 'buttonset',
                    name: 'btnDeleteRegion',
                    scope: this,
                    handler:function () {
                        let me =  Ext.getCmp('InformationPage');
                        if(me.buttonNum ===4){
                            Ext.getDom('qualityCheck').style.background='#fff';
                            document.getElementById('gczljc').style.color='#ff8041';
                            me.buttonNum=1
                        }else{
                            Ext.getDom('qualityCheck').style.border='1px solid #fff;';
                            Ext.getDom('qualityCheck').style.background='#fff';
                            document.getElementById('gczljc').style.color='#ff8041';

                            Ext.getDom('item_addRegion').style.border='1px solid #ff8041;';
                            Ext.getDom('item_addRegion').style.background='#ff8041';
                            document.getElementById('jcxx').style.color='#fff';

                            Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #ff8041;';
                            Ext.getDom('PreliminaryApplicationProcedures').style.background='#ff8041';
                            document.getElementById('qqbjsx').style.color='#fff';

                            Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #ff8041;';
                            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#ff8041';
                            document.getElementById('gcjdysjd').style.color='#fff';

                            me.buttonNum=4;

                        }
                        document.getElementById('titlename').innerText = '质量行为抽查';
                        me.removeAll(true);
                        let engineering_id=this.engineering_id;
                        let basicInformationPanel = Ext.create('js.ranInsOfProQui.RandomInspectionOfProjectQualityBg', {
                            engineering_id: engineering_id,
                        });
                        me.add(basicInformationPanel);
                    }
                }, {
                    text: '<span id="gcjdysjd">工程进度验收节点</span>',
                    margin:'0 2 0 0',
                    width:240,
                    height:45,
                    scale: 'medium',
                    id:'ProjectProgressAcceptanceNode',
                    cls: 'buttonset',
                    name: 'btnDeleteRegion',
                    scope: this,
                    handler:function () {
                        let me =  Ext.getCmp('InformationPage');
                        if(me.buttonNum ===5){
                            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#fff';
                            document.getElementById('gcjdysjd').style.color='#ff8041';
                            me.buttonNum=1
                        }else{
                            Ext.getDom('qualityCheck').style.border='1px solid #ff8041;';
                            Ext.getDom('qualityCheck').style.background='#ff8041';
                            document.getElementById('gczljc').style.color='#fff';

                            Ext.getDom('item_addRegion').style.border='1px solid #ff8041;';
                            Ext.getDom('item_addRegion').style.background='#ff8041';
                            document.getElementById('jcxx').style.color='#fff';

                            Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #ff8041;';
                            Ext.getDom('PreliminaryApplicationProcedures').style.background='#ff8041';
                            document.getElementById('qqbjsx').style.color='#fff';




                            Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #fff;';
                            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#fff';
                            document.getElementById('gcjdysjd').style.color='#ff8041';
                            me.buttonNum=5;

                        }
                        let engineering_id=this.engineering_id;
                        let engineering_no=this.engineering_no;
                        let engineering_name=this.engineering_name;
                        Ext.Ajax.request({
                            url: '/progressRoutes',
                            method: "POST",
                            async: true,  //异步调用AJAX
                            params: {
                                action_type: 'progressListQuery',
                                engineering_id:engineering_id
                            },
                            success: function (response, opts) {
                                let result = Ext.decode(response.responseText).data;
                                let percentage =Ext.decode(response.responseText).percentage;
                                document.getElementById('titlename').innerText = '工程进度验收节点';
                                me.removeAll(true);
                                let basicInformationPanel = Ext.create('js.proAccNode.ProjectProgressAcceptanceNodeBg', {
                                    engineering_id:engineering_id,
                                    engineering_no:engineering_no,
                                    engineering_name:engineering_name,
                                    //地基验槽
                                    foundation_test_tanks:result.foundation_test_tanks,
                                    //建筑材料/构配件抽查
                                    material_check_a:result.material_check_a,
                                    //地基检验
                                    foundation_test:result.foundation_test,
                                    //重要分部验收
                                    important_part_acceptance:result.important_part_acceptance,
                                    //首层或转换层验筋
                                    first_conversion_reinforcement:result.first_conversion_reinforcement,
                                    //建筑材料/构配件抽查(第二次)
                                    material_check_b:result.material_check_b,
                                    //标准层钢筋
                                    standard_reinforcement:result.standard_reinforcement,
                                    //顶层钢筋
                                    top_reinforcement:result.top_reinforcement,
                                    //工程质量抽测
                                    quality_sampling:result.quality_sampling,
                                    //主体砼结构(
                                    concrete_structure:result.concrete_structure,
                                    //建筑材料/构配件抽查(第三次)
                                    material_check_c:result.material_check_c,
                                    //主体结构
                                    main_structure:result.main_structure,
                                    //装饰装修等工程
                                    other_projects:result.other_projects,
                                    //竣工初验
                                    completion_initial_inspection:result.completion_initial_inspection,
                                    //竣工验收
                                    completion_acceptance:result.completion_acceptance,
                                    //结构实体混凝土强度
                                    structural_solid_concrete_strength:result.structural_solid_concrete_strength,
                                    //钢筋位置、数量、保护层厚度
                                    reinforcement_data:result.reinforcement_data,
                                    //切体砂浆强度
                                    masonry_mortar_strength:result.masonry_mortar_strength,
                                    //植筋锚固力
                                    planting_anchor:result.planting_anchor,
                                    //地基验槽(所属重要分部验收
                                    foundation_inspection:result.foundation_inspection,
                                    //地基基础分部
                                    foundation_based_division:result.foundation_based_division,
                                    //主体分部
                                    main_division:result.main_division,
                                    //竣工备案
                                    completion_filing:result.completion_filing,
                                    percentage:percentage



                                });
                                me.add(basicInformationPanel);
                            }});
                    }
                }
                ]
            }];
        this.callParent(arguments);
        this.on('afterrender',this.show);
    },
    show: function(){
        if(this.num==1){
            let me =  Ext.getCmp('InformationPage');

            Ext.getDom('qualityCheck').style.border='1px solid #ff8041;';
            Ext.getDom('qualityCheck').style.background='#ff8041';
            document.getElementById('gczljc').style.color='#fff';

            Ext.getDom('item_addRegion').style.border='1px solid #ff8041;';
            Ext.getDom('item_addRegion').style.background='#ff8041';
            document.getElementById('jcxx').style.color='#fff';

            Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #ff8041;';
            Ext.getDom('PreliminaryApplicationProcedures').style.background='#ff8041';
            document.getElementById('qqbjsx').style.color='#fff';

            Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #fff;';
            Ext.getDom('ProjectProgressAcceptanceNode').style.background='#fff';
            document.getElementById('gcjdysjd').style.color='#ff8041';
            me.buttonNum=5;
            let engineering_id=this.engineering_id;
            let engineering_no=this.engineering_no;
            let engineering_name=this.engineering_name;
            Ext.Ajax.request({
                url: '/progressRoutes',
                method: "POST",
                async: true,  //异步调用AJAX
                params: {
                    action_type: 'progressListQuery',
                    engineering_id:engineering_id
                },
                success: function (response, opts) {
                    let result = Ext.decode(response.responseText).data;
                    let percentage =Ext.decode(response.responseText).percentage;
                    document.getElementById('titlename').innerText = '工程进度验收节点';
                    me.removeAll(true);
                    let basicInformationPanel = Ext.create('js.proAccNode.ProjectProgressAcceptanceNodeBg', {
                        engineering_id:engineering_id,
                        engineering_no:engineering_no,
                        engineering_name:engineering_name,
                        //地基验槽
                        foundation_test_tanks:result.foundation_test_tanks,
                        //建筑材料/构配件抽查
                        material_check_a:result.material_check_a,
                        //地基检验
                        foundation_test:result.foundation_test,
                        //重要分部验收
                        important_part_acceptance:result.important_part_acceptance,
                        //首层或转换层验筋
                        first_conversion_reinforcement:result.first_conversion_reinforcement,
                        //建筑材料/构配件抽查(第二次)
                        material_check_b:result.material_check_b,
                        //标准层钢筋
                        standard_reinforcement:result.standard_reinforcement,
                        //顶层钢筋
                        top_reinforcement:result.top_reinforcement,
                        //工程质量抽测
                        quality_sampling:result.quality_sampling,
                        //主体砼结构(
                        concrete_structure:result.concrete_structure,
                        //建筑材料/构配件抽查(第三次)
                        material_check_c:result.material_check_c,
                        //主体结构
                        main_structure:result.main_structure,
                        //装饰装修等工程
                        other_projects:result.other_projects,
                        //竣工初验
                        completion_initial_inspection:result.completion_initial_inspection,
                        //竣工验收
                        completion_acceptance:result.completion_acceptance,
                        //结构实体混凝土强度
                        structural_solid_concrete_strength:result.structural_solid_concrete_strength,
                        //钢筋位置、数量、保护层厚度
                        reinforcement_data:result.reinforcement_data,
                        //切体砂浆强度
                        masonry_mortar_strength:result.masonry_mortar_strength,
                        //植筋锚固力
                        planting_anchor:result.planting_anchor,
                        //地基验槽(所属重要分部验收
                        foundation_inspection:result.foundation_inspection,
                        //地基基础分部
                        foundation_based_division:result.foundation_based_division,
                        //主体分部
                        main_division:result.main_division,
                        completion_filing:result.completion_filing,
                        percentage:percentage



                    });
                    me.add(basicInformationPanel);
                }});
        }else{
            let me =  Ext.getCmp('InformationPage');
                /*  Ext.getDom('item_addRegion').style.border='1px solid #fff;';*/
                Ext.getDom('item_addRegion').style.background='#fff';
                document.getElementById('jcxx').style.color='#ff8041';

                Ext.getDom('qualityCheck').style.border='1px solid #ff8041;';
                Ext.getDom('qualityCheck').style.background='#ff8041';
                document.getElementById('gczljc').style.color='#fff';

                Ext.getDom('ProjectProgressAcceptanceNode').style.border='1px solid #ff8041;';
                Ext.getDom('ProjectProgressAcceptanceNode').style.background='#ff8041';
                document.getElementById('gcjdysjd').style.color='#fff';
                Ext.getDom('PreliminaryApplicationProcedures').style.border='1px solid #ff8041;';
                Ext.getDom('PreliminaryApplicationProcedures').style.background='#ff8041';
                document.getElementById('qqbjsx').style.color='#fff';
                me.buttonNum=2;
            document.getElementById('titlename').innerText = '基础信息';
            me.removeAll(true);
            let engineering_id=this.engineering_id;
            Ext.Ajax.request({
                url: '/engInformationRoutes',
                method: "POST",
                async: true,  //异步调用AJAX
                params: {
                    action_type: 'engInformationQuery',
                    engineering_id:engineering_id,
                },
                success: function (response, opts) {
                    let result = Ext.decode(response.responseText);
                    let basicInformationPanel = Ext.create('js.basicInformation.basicInformationPanel', {
                        engineering_id:engineering_id,
                        engineering_no:result.data.engineering_no,
                        engineering_name:result.data.engineering_name,
                        //开工日期
                        startDate:result.data.startDate,
                        //责任监督员
                        principal_name:result.data.principal_name,
                        //上
                        aboveGround_floor:result.data.aboveGround_floor,
                        //首次入场日期
                        admission_construction_date:result.data.admission_construction_date,
                        //下
                        underGround_floor:result.data.underGround_floor,
                        //监督员
                        user_name:result.data.user_name,
                        //总面积
                        engineering_area:result.data.engineering_area,
                        //入场工程状态
                        admission_construction_status:result.data.admission_construction_status,
                        //详细地址
                        engineering_address:result.data.engineering_address,
                        //建筑用途
                        building_use:result.data.building_id,
                        //监督注册证编号
                        supervisory_registration_certificate:result.data.supervisory_registration_certificate,
                        //规划证号
                        planning_certificate:result.data.planning_certificate,
                        //图审编号
                        drawing_number:result.data.drawing_number,
                        //施工许可证号
                        construction_permit:result.data.construction_permit,
                        //建设单位
                        construction_unit_employer_id:result.data.construction_unit_employer_id,
                        //设计单位
                        design_unit_id:result.data.design_unit_id,
                        //施工单位
                        construction_unit_contractor_id:result.data.construction_unit_contractor_id,
                        //监理单位
                        supervisory_unit_id:result.data.supervisory_unit_id,
                        //勘察单位
                        survey_unit_id:result.data.survey_unit_id,
                        //图审单位
                        drawing_unit_id:result.data.drawing_unit_id,
                        //责任监督员id
                        principal_id:result.data.principal_id,
                        //监督员id
                        userIds:result.data.userIds,
                        construction_unit_employer_person:result.data.construction_unit_employer_person,
                        design_unit_person:result.data.design_unit_person,
                        construction_unit_contractor_person:result.data.construction_unit_contractor_person,
                        supervisory_unit_person:result.data.supervisory_unit_person,
                        survey_unit_person:result.data.survey_unit_person,
                        drawing_unit_person:result.data.drawing_unit_person,
                        //结构类型
                        structure_id:result.data.structure_id
                    });
                    me.add(basicInformationPanel);

                },
                failure: function () {
                    Ext.toast(`获取异常报警数据失败：${response.status}`);
                }  // 请求失败的回调函数
            });

        }
    },
});